<div id="categorsTitle">
  <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "name", :entity_field_value => @shop.name} %>
  <div id="shopProfile">
    <div class="shopPhoto">
      <%= image_tag(@shop.photo.url, :alt => @shop.name) %>
    </div>
    <div class="shopProfileWrapper">
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "description", :entity_field_value => raw(@shop.description)} %>
      <div class="shopProfileInfoWrapper">
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "workhours", :entity_field_value => @shop.workhours} %>
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "kitchenhours", :entity_field_value => @shop.kitchenhours} %>
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "kitchen", :entity_field_value => @shop.kitchen} %>
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "address", :entity_field_value => @shop.address} %>
      <%= render :partial => "shared/profile_field", :locals => {:entity_name => "shop", :entity_field_name => "time", :entity_field_value => get_select_value(@shop, "shop", "time")} %>
    </div>
    </div>
  </div>
</div>
<div id="categors">
  <% @categors.each do |categor| %>
    <div class="categorContainer">
      <div class="categorPhoto">
        <%= link_to image_tag(categor.photo.url, :alt => categor.name),
          products_path(:time => @time, :town => @town, :categor_id => categor.id) %>
      </div>
      <div class="categorName">
        <%= categor.name %>
      </div>
    </div>
  <% end %>
</div>